package data;

import java.util.Date;


public class PostMessage extends ForumMessage {
	private ThreadMessage _threadMsg;
	private ForumMessage _responseTo;
	
	public PostMessage(Integer id, String title, String content, Member composer,
			Date date, Integer subForumID,ThreadMessage threadMessage ,ForumMessage responseTo) {
		super(id, title, content, composer, date, subForumID);
		_threadMsg = threadMessage;
		_responseTo = responseTo;
	}

	
//	public void addThreadMsg(String title, String content,User composer, Date date ){
//		ThreadMessage threadMsg= new ThreadMessage(_threadMsgIndex, title, content, composer, date, this.get_subForumID(), this.get_id());
//		_threads.put(_threadMsgIndex, threadMsg);
//		_threadMsgIndex++;
//	}
	
}
